package cn.tedu.csmall.product.service;

import org.springframework.transaction.annotation.Transactional;

/**
 * 品牌与类别service
 * @author 何惠民
 */
@Transactional
public interface IBrandCategoryService {
    /**
     * 添加品牌与类别的绑定
     *
     * @param brandId    品牌id
     * @param categoryId 类别id
     */
    void bind(Long brandId, Long categoryId);

    /**
     * 删除品牌与类别的绑定
     * @param BrandId
     * @param categoryId
     */
    void unbind(Long BrandId,Long categoryId);

}
